

<template>
  <div>echo  </div>
  <el-button >我是闺女超杰 money:{{money}}</el-button>
  <el-button @click="handler($parent)">存钱</el-button>
</template>
  <script setup>
import { ref } from 'vue'
let money = ref(50000 )
const handler = ($parent) => {
  money.value +=99
  $parent.money -= 99
}
  </script>
<style scoped>

</style>
